//package com.alibaba.nacos.naming.misc;
//
//import com.alibaba.nacos.common.task.AbstractExecuteTask;
//import com.alibaba.nacos.common.task.engine.NacosExecuteTaskExecuteEngine;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.Resource;
//
//
//@Component
//public class NamingExecuteTaskDispatcher {
//
//    @Resource(name = "nacosExecuteTaskExecuteEngine")
//    private NacosExecuteTaskExecuteEngine nacosExecuteTaskExecuteEngine;
//
//    public void dispatchAndExecuteTask(Object dispatchTag,
//                                       AbstractExecuteTask task) {
//        nacosExecuteTaskExecuteEngine.addTask(dispatchTag, task);
//    }
//}
